package com.yonyou.cyxdms.basedata.client.service.basedata;

import com.yonyou.cyxdms.basedata.client.domains.vo.ModelCacheVO;
import com.yonyou.cyxdms.basedata.client.dto.VsProductDlrVO;

import java.util.List;

/**
 * 车型信息
 *
 * @author: renwd
 * @since: 2018/11/29
 * @version:1.0 Copyright: Copyright (c) 2018
 */
public interface BaseCommonModelService {

    /**
     * 根据车型id查询车型信息
     *
     * @param modelId
     * @return com.yonyou.cyxdms.basedata.client.domains.vo.ModelCacheVO
     * @author renwd
     * @since 2019/9/10
     */
    ModelCacheVO getValueByModelId(String modelId);

    List<ModelCacheVO> allModel();

    /**
     * 查询租户下的经销商下的所有车型
     *
     * @param
     * @return java.util.List<com.yonyou.cyxdms.basedata.client.domains.vo.ModelCacheVO>
     * @author renwd
     * @since 2019/9/10
     */
    List<ModelCacheVO> listAllModel();

    List<ModelCacheVO> getAllModelByAppId(String appId);

    VsProductDlrVO getModelNew(String modelCode,String appId);

}
